package tf2pickup;

/**
 * This class represents one server-entry in the configuration file.
 * @author Philipp Preß
 */
public class GameServer {

    private String host;
    private int port;
    private String rcon;

    /**
     * 
     * @param host hostnsme of the gameserver
     * @param port port of the gameserver
     * @param rcon rcon-password of the gameserver
     */
    public GameServer(String host, int port, String rcon) {
        this.host = host;
        this.port = port;
        this.rcon = rcon;
    }

    public GameServer() {
    }

    /**
     * @return the host
     */
    public String getHost() {
        return host;
    }

    /**
     * @param host the host to set
     */
    public void setHost(String host) {
        this.host = host;
    }

    /**
     * @return the port
     */
    public int getPort() {
        return port;
    }

    /**
     * @param port the port to set
     */
    public void setPort(int port) {
        this.port = port;
    }

    /**
     * @return the rcon
     */
    public String getRcon() {
        return rcon;
    }

    /**
     * @param rcon the rcon to set
     */
    public void setRcon(String rcon) {
        this.rcon = rcon;
    }
}